.{$uploader-prefix}
  position relative
  &.{$uploader-prefix}-image-container
    display inline-block
  .{$uploader-prefix}-image-empty, .{$uploader-prefix}-image
    position relative
    width 70px
    height 70px
    float left
    margin-right 10px
    border-radius $border-radius-size
    cursor pointer
    z-index 1
  .{$uploader-prefix}-image-empty
    border 2px dashed $gray3-color
    color $gray-color
    &:hover
      border 2px dashed $primary-color
      color $primary-color
    .{$icon-prefix}-plus
      middle-center()
      font-size 28px
  .{$uploader-prefix}-image-background, .{$uploader-prefix}-image-operate
    position absolute
    left 0
    right 0
    top 0
    bottom 0
    border-radius $border-radius-size
    z-index 1
  .{$uploader-prefix}-image
    background-size cover
    background-repeat no-repeat
    background-position 50%
    &:hover
      .{$uploader-prefix}-image-operate
        transition $transition-time
        opacity 1
  .{$uploader-prefix}-image-operate
    cursor pointer
    background-color rgba($black-color, .6)
    opacity 0
    text-align center
    > div
      middle-center()
      width 100%
      color $white-color
      > span
        cursor pointer
        color $white-color
        > i
          font-size 18px
  .{$uploader-prefix}-files
    position relative
    margin-top 5px
    font-size $font-size-mini
    color $gray3-color
    .{$uploader-prefix}-file
      position relative
      line-height 30px
      .{$uploader-prefix}-info
        padding-left 5px
        padding-right 15px
        cursor pointer
        white-space nowrap
        overflow hidden
        text-overflow ellipsis
        &:hover
          background-color $gray3-color
        .{$icon-prefix}-trash
          top 1px
          right 5px
  .{$uploader-prefix}-input
    width 100%
    height 100%
    position absolute
    left 0
    top 0
    opacity 0
    z-index -1
